home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Merciful 2
/
Merciful - Disc 2.iso
/
software
/
i
/
imagefxv2.1a.lha
/
ImageFX
/
Rexx
/
AutoFX
/
Template.ifx.pre
< prev
next >
Wrap
Text File
|
1996-03-02
|
657b
|
34 lines
/*
* Template.ifx.pre
* Written by Thomas Krehbiel
*
* Template for AutoFX scripts.
*
* Inputs:
* Word(Arg(1),1) = Sequence number
* Word(Arg(1),2) = Total number of frames (N)
*
* Returns:
* 0 if successful, non-zero on failure
*
*/
OPTIONS RESULTS
base = 'Autofx_Template_'
a = GETCLIP(base||'a') ; IF a = "" THEN a = 'A'
b = GETCLIP(base||'b') ; IF b = "" THEN b = 'A'
Gadget.1 = 'INTEGER 250 5 90 14 "Start:"' a
Gadget.2 = 'INTEGER 250 20 90 14 "End:"' b
Gadget.3 = 'END'
NewComplexRequest '"Template"' Gadget 450 60
IF rc ~= 0 THEN EXIT rc
CALL SETCLIP(base||'a', result.1)
CALL SETCLIP(base||'b', result.2)
EXIT